package com.neuedu.shixun.hospital2.service;

import com.neuedu.shixun.hospital2.entity.JiBing;
import com.neuedu.shixun.hospital2.entity.JiBing2;
import org.springframework.data.domain.Page;

import java.util.List;

public interface JiBingService {
    List<JiBing> getJiBing();
    List<JiBing> getAll();
    List<JiBing2> getAll2(List<JiBing> list);
    JiBing2 update(JiBing2 jiBing2);
    void delete(Integer bbid);
    Page<JiBing2> findByPage(int pageCode, int pageSize);
   int getNum();
    JiBing2 getOneById(int bbid);
    List<JiBing2> searchByName(List<JiBing2> list,String name);
    JiBing2 getOneByName(String bname);
}
